
*{
    margin:0;
    padding: 0;

    box-sizing: border-box; 
    /* // CSS 3 盒子模型 */
}
body{
    background-color: #f3f5f7;
}
header{
    height: 100px;
    width: 1300px;
    /* background-color: pink; */
    margin:0 auto;
    
    padding-top: 30px;
}

/* logo部分 */
.logo{
    width: 195px;
    height: 42px;
    /* background-color: purple; */
    float: left;
}

.logo a{
    display: block;
    width: 195px;
    height: 42px;
    background: url(../images/logo.png) no-repeat;
    /* 隐藏连接中的文字 */
    text-indent: -999px;   
    /* 加上是非常好的 */
    overflow: hidden;
}
/* nav导航 */

nav{
    float: left;
    margin-left: 20px;
}
nav li{
    float: left;
    height: 40px;
    line-height: 40px;
    margin-left: 25px;
}
nav li a{
    /* 行类元素必须改成块级元素，才能设置高度 */
    display: block;
    height: 40px;
    font-size: 18px;
    padding:0 10px;
}
nav li a:hover{
    border-bottom: 2px solid #00a4ff;
}
/* search */
.search{
    width: 410px;
    height: 40px;
    background-color: purple;
    float: left;
    margin-left: 160px;
}
.search input{
    width: 361px;
    height: 40px;
    border: 1px solid #00a4ff;
    /* 轮廓线 */
    outline: none;
    padding-left: 10px;
}
.search button{
    width: 49px;
    height: 40px;
    border: 0;
    outline: none;
    float: right;
    background: url(../images/fa-search.png) no-repeat;
}

/* personal */
.personal{
    float: right;
    height: 40px;
    line-height: 40px;
    /* width: 200px; */

}
.personal dt,.personal dd{
    float: left;
}
.personal s{
    position: relative;
    padding: 0 20px;
    list-style: none;
}

.personal s::before{
    content:''; 
    /* 因为为伪元素默认是行内元素 */
    display: block;
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 15px;
}

.personal span img{
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.6s;
}
.personal span img:hover{
    transform: rotate(360deg);
}

.w{
    width: 1200px;
    margin:0 auto;
}
/* banner */
.banner{
    height: 420px;
    background-color: #1c036c;
}
.inner{
    height: 420px;
    /* background: url(../images/banner2.jpg) no-repeat top center; */
    position: relative;
}
.subnav{
    height: 100%;
    width: 190px;
    /* background-color: pink; */
    background: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;

    padding-top:20px;
}
.subnav li{
    padding-left: 20px;
    position: relative;
    
}
.subnav a{
    font-size: 14px;
    color: #fff;
    height: 40px;
    line-height: 40px;
    display: block;
    /* list-style: none; */
}
.subnav a:hover{
    color: #00b4ff;
}
.subnav span{
    position: absolute;
    right: 20px;
    top: 0;
}

/* circle */
.circle{
    width: 176px;
    height: 20px;
    position: absolute;
    left: 50%;
    /* margin-left: -88px; */
    transform: translate(-50%);  /* 和上面的效果一样*/
    bottom: 15px;
    /* background-color: #fff; */
}

.circle i{
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: rgba(255, 255, 255, .4);
    margin: 0 5px;
    border-radius: 6px;    
    cursor: pointer;
    transition: all 0.5s;
}
.circle i:hover{
    width: 20px;
    background-color: #fff;
    position: relative;
    /* 过渡效果 */
    /* transition:  */
}
.timebook{
    width: 228px;
    height: 300px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
    background-color: #ffffff;
}
.timebook dt{
    height: 50px;
    background-color: #9bceea;
    font-weight: 700;
    /* color: #4e4e4e; */
    line-height: 50px;
    text-align: center;
    font-size: 18px;
}
.timebook dd{
    padding: 15px 20px;
    
    /* background-color: pink;     */
}
.timebook dd li{
    cursor: pointer;
    height: 60px;
    border-bottom: 1px solid #ccc;
    padding-top: 6px;
}
.timebook dd li:last-child{
    border: 0;
}
.timebook  h5{
    font-size: 16px;
    font-weight: normal;
    color: #4e4e4e;
}
.timebook p{
    
    color:#a5a5a5;
}
.timebook .all{
    height: 40px;
    border: 1px solid #22b0ff;
    display: block;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    color: #22b0ff;    
}

.all:hover{
    background-color: #22b0ff;
    color: #fff;
}

/* 推荐 */
.recommend{
    height: 60px;
    background-color: #fff;
    height: 60px;
    line-height: 60px;
    margin-top: 10px;
    position: relative;
    box-shadow: 0 1px 12px rgba(0, 0, 0, .4)
}
.recommend strong{
    color: #22b0ff;
    font-size: 14px;
    margin-right: 15px;
}
.rec-l{
    padding-left: 20px;
}
.rec-l a{
    margin: 0 15px;
    font-size: 14px;
}
.recommend em{
    position: absolute;
    right: 20px;
    bottom: 0;
    cursor: pointer;
}

/* 精品推荐 */
.products{
    margin-top: 30px;
    position: relative;

}
 .pro-hd h4{
    height: 40px;
    font-weight: 400;
    font-size: 18px;
}

.pro-hd a{
    position: absolute;
    top:0;
    right: 20px;
}
.pro-bd li{
    width: 228px;
    height: 270px;
    background-color: #fff;
    float: left;
    margin-right:15px;
    margin-bottom:15px;
    overflow: hidden;
    transition: all 0.6s;
}
.pro-bd li:hover{
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .3);
    transform:translateY(-5px);
    /* margin-top:-10px;  */
}
.pro-bd li:nth-child(5n){
    margin-right: 0;
}

.pic img{
    transition: all 0.6s;

}
.pic img:hover{
    margin-left: -5px;
}

.pro-bd .pic{
}

.pro-title{
    width: 185px;
    margin: 0 auto;
    margin: 20px auto;
    font-size: 14px;
    color: #050505;
}
.pro-bd p{
    width: 185px;
    margin:20px auto; 
    color: #999;
}
.pro-bd p span{
    color: #ff7c2d;
}

footer{
    height: 420px;
    background-color: #fff;
    margin-top:30px;
    padding-top: 30px;
}
.footer-left{
    margin-left: 20px;
    float: left;
}

.footer-left p{
    margin:25px 0 15px 0;

}
.footer-left a{
    width: 120px;
    height: 35px;
    display: block;
    border: 1px solid #22b0ff;
    text-align: center;
    line-height: 35px;
    color:  #22b0ff;
}

.footer-right{
    float: right;
    margin-right: 25px;
}
.footer-right dl{
    float: left;
    margin-left: 135px;
}
.footer-right dt{
    font-size: 16px;
    color: #333;
    height: 30px;
}
.footer-right dd{
    height: 20px;
    font-size: 12px;
}